package se.teamstat.client.gui.admin.edit;

import com.gwtext.client.widgets.Panel;
import com.gwtext.client.widgets.layout.CardLayout;

public class ViewPanel extends Panel {
	
	private ViewPanel() {
		init();
	}
	
	public static Panel createPanel() {
		Panel panel = new ViewPanel();
		return panel;
	}
	
	private void init() {
		setLayout(new CardLayout());
		setBorder(false);
		setAutoWidth(true);
		setAutoHeight(true);
		setTitle("View");
		setId("view-item");
	}
}
